/* Add more styles to the end of the file */

/* Page components shared styles */
.page-container {
  padding: 20px;
}

.page-container h1 {
  margin-bottom: 20px;
  color: #333;
}

/* Table styles */
.table-container {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background-color: #f5f5f5;
  padding: 12px;
  text-align: left;
  font-weight: bold;
  color: #444;
  border-bottom: 1px solid #ddd;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.data-table tr:hover {
  background-color: #f9f9f9;
}

/* Action bar styles */
.actions-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.btn-primary {
  background-color: #4776c7;
  color: white;
}

.btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.btn-edit {
  background-color: #65a6d6;
  color: white;
  margin-right: 6px;
}

.btn-delete {
  background-color: #ff6b6b;
  color: white;
}

.btn-view {
  background-color: #4776c7;
  color: white;
  margin-right: 6px;
}

.btn-print {
  background-color: #6c757d;
  color: white;
}

.btn-process {
  background-color: #40c057;
  color: white;
}

.btn-reset {
  background-color: #ff922b;
  color: white;
}

.search-box {
  display: flex;
}

.search-box input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  min-width: 200px;
}

.search-box button {
  border: 1px solid #ddd;
  background: white;
  border-radius: 0 4px 4px 0;
  border-left: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* Status and priority badges */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  display: inline-block;
  text-align: center;
}

.status-badge.active, .status-badge.success {
  background-color: #e6f7e6;
  color: #40c057;
}

.status-badge.inactive, .status-badge.danger {
  background-color: #ffe8e8;
  color: #ff6b6b;
}

.status-badge.warning {
  background-color: #fff8e6;
  color: #ff922b;
}

.status-badge.info {
  background-color: #e6f2ff;
  color: #228be6;
}

.priority-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  display: inline-block;
  text-align: center;
}

.priority-badge.high {
  background-color: #ffe8e8;
  color: #ff6b6b;
}

.priority-badge.medium {
  background-color: #fff8e6;
  color: #ff922b;
}

.priority-badge.low {
  background-color: #e6f7e6;
  color: #40c057;
}

/* Dashboard cards */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.card, .stat-card, .summary-card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.card h3, .stat-card h3, .summary-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #666;
}

.stat, .stat-value, .amount {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* Kitchen styles */
.kitchen-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.order-card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
  border-left: 4px solid #ddd;
}

.order-card.preparing {
  border-left-color: #ff922b;
}

.order-card.ready {
  border-left-color: #4776c7;
}

.order-card.completed {
  border-left-color: #40c057;
}

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.order-header h3 {
  margin: 0;
  font-size: 16px;
}

.order-time {
  color: #666;
}

.order-items ul {
  margin: 0;
  padding-left: 20px;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

/* Finance styles */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.summary-card.income {
  border-left: 4px solid #40c057;
}

.summary-card.expense {
  border-left: 4px solid #ff6b6b;
}

.summary-card.profit {
  border-left: 4px solid #4776c7;
}

.summary-card.pending {
  border-left: 4px solid #ff922b;
}

/* Filter groups */
.filter-group, .date-filter, .date-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group select, .date-filter input, .date-range input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Admin panel styles */
.admin-dashboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.panel h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  color: #333;
}

.system-settings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.setting-item {
  display: flex;
  flex-direction: column;
}

.setting-name {
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.setting-value {
  font-size: 16px;
  color: #333;
}

.log-entries {
  border: 1px solid #eee;
  border-radius: 4px;
  max-height: 300px;
  overflow-y: auto;
}

.log-entry {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-level {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.log-level.info {
  background-color: #e6f2ff;
  color: #228be6;
}

.log-level.warning {
  background-color: #fff8e6;
  color: #ff922b;
}

.log-level.error {
  background-color: #ffe8e8;
  color: #ff6b6b;
}

.timestamp {
  color: #888;
  white-space: nowrap;
}

.log-message {
  flex: 1;
}

/* Transaction types */
.transaction-type {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  display: inline-block;
  text-align: center;
}

.transaction-type.income {
  background-color: #e6f7e6;
  color: #40c057;
}

.transaction-type.expense {
  background-color: #ffe8e8;
  color: #ff6b6b;
}

/* Add styles for the Overview page components */
/* Overview page specific styles */
.overview-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (min-width: 1024px) {
  .overview-content {
    grid-template-columns: 3fr 2fr;
  }
}

.panel-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
}

.trend {
  font-size: 14px;
  margin-top: 8px;
}

.trend-up {
  color: #40c057;
}

.trend-down {
  color: #ff6b6b;
}

.trend-neutral {
  color: #868e96;
}

/* Loading component */
.loading-fallback {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  font-size: 18px;
  color: #4776c7;
}

/* Login page styles */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f5f7fa;
}

.login-form {
  width: 100%;
  max-width: 400px;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background-color: #4776c7;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-login:hover {
  background-color: #3a67b8;
}
.none{
  display: none;
}
